package com.yzd.learnjava.generics;

import com.yzd.learnjava.util.Print;

public class ArrayOfGeneric {
	static final int SIZE = 100;
	static Generic<Integer>[] gia ;
	public static void main(String[] args) {
		//gia = (Generic<Integer>[])new Obect[SIZE];
		
		gia = (Generic<Integer>[])new Generic[SIZE];
		Print.print(gia.getClass().getSimpleName());
		
		
		gia[0] = new Generic<Integer>();
//		gia[1] = new Object();
//		gia[2] = new Generic<Double>();
	}
}
